package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HOSP_EMER_WAIT_MEDICINE database table.
 * 
 */
@Entity
@Table(name="HOSP_EMER_WAIT_MEDICINE")
@NamedQuery(name="HospEmerWaitMedicine.findAll", query="SELECT h FROM HospEmerWaitMedicine h")
public class HospEmerWaitMedicine implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="WAIT_MEDICINE_ID")
	private String waitMedicineId;

	@Column(name="SEQUENCE_")
	private BigDecimal sequence;

	//bi-directional many-to-one association to HospEmerRegistration
	@ManyToOne
	@JoinColumn(name="EMER_REGISTRATION_ID")
	private HospEmerRegistration hospEmerRegistration;

	public HospEmerWaitMedicine() {
	}

	public String getWaitMedicineId() {
		return this.waitMedicineId;
	}

	public void setWaitMedicineId(String waitMedicineId) {
		this.waitMedicineId = waitMedicineId;
	}

	public BigDecimal getSequence() {
		return this.sequence;
	}

	public void setSequence(BigDecimal sequence) {
		this.sequence = sequence;
	}

	public HospEmerRegistration getHospEmerRegistration() {
		return this.hospEmerRegistration;
	}

	public void setHospEmerRegistration(HospEmerRegistration hospEmerRegistration) {
		this.hospEmerRegistration = hospEmerRegistration;
	}

}